3.54 \(\int \frac {a+b \text {sech}(c+d \sqrt {x})}{\sqrt {x}} \, dx\)

Optimal. Leaf size=26 \[ 2 a \sqrt {x}+\frac {2 b \tan ^{-1}\left (\sinh \left (c+d \sqrt {x}\right )\right )}{d} \]

[Out]

2*b*arctan(sinh(c+d*x^(1/2)))/d+2*a*x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {14, 5436, 3770} \[ 2 a \sqrt {x}+\frac {2 b \tan ^{-1}\left (\sinh \left (c+d \sqrt {x}\right )\right )}{d} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Sech[c + d*Sqrt[x]])/Sqrt[x],x]

[Out]

2*a*Sqrt[x] + (2*b*ArcTan[Sinh[c + d*Sqrt[x]]])/d

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 3770

Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]

Rule 5436

Int[(x_)^(m_.)*((a_.) + (b_.)*Sech[(c_.) + (d_.)*(x_)^(n_)])^(p_.), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simpli
fy[(m + 1)/n] - 1)*(a + b*Sech[c + d*x])^p, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p}, x] && IGtQ[Simplif
y[(m + 1)/n], 0] && IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {a+b \text {sech}\left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx &=\int \left (\frac {a}{\sqrt {x}}+\frac {b \text {sech}\left (c+d \sqrt {x}\right )}{\sqrt {x}}\right ) \, dx\\ &=2 a \sqrt {x}+b \int \frac {\text {sech}\left (c+d \sqrt {x}\right )}{\sqrt {x}} \, dx\\ &=2 a \sqrt {x}+(2 b) \operatorname {Subst}\left (\int \text {sech}(c+d x) \, dx,x,\sqrt {x}\right )\\ &=2 a \sqrt {x}+\frac {2 b \tan ^{-1}\left (\sinh \left (c+d \sqrt {x}\right )\right )}{d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 30, normalized size = 1.15 \[ \frac {2 \left (a \left (c+d \sqrt {x}\right )+b \tan ^{-1}\left (\sinh \left (c+d \sqrt {x}\right )\right )\right )}{d} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Sech[c + d*Sqrt[x]])/Sqrt[x],x]

[Out]

(2*(a*(c + d*Sqrt[x]) + b*ArcTan[Sinh[c + d*Sqrt[x]]]))/d

________________________________________________________________________________________

fricas [A]  time = 0.52, size = 33, normalized size = 1.27 \[ \frac {2 \, {\left (a d \sqrt {x} + 2 \, b \arctan \left (\cosh \left (d \sqrt {x} + c\right ) + \sinh \left (d \sqrt {x} + c\right )\right )\right )}}{d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*sech(c+d*x^(1/2)))/x^(1/2),x, algorithm="fricas")

[Out]

2*(a*d*sqrt(x) + 2*b*arctan(cosh(d*sqrt(x) + c) + sinh(d*sqrt(x) + c)))/d

________________________________________________________________________________________

giac [A]  time = 0.14, size = 29, normalized size = 1.12 \[ \frac {2 \, {\left (d \sqrt {x} + c\right )} a}{d} + \frac {4 \, b \arctan \left (e^{\left (d \sqrt {x} + c\right )}\right )}{d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*sech(c+d*x^(1/2)))/x^(1/2),x, algorithm="giac")

[Out]

2*(d*sqrt(x) + c)*a/d + 4*b*arctan(e^(d*sqrt(x) + c))/d

________________________________________________________________________________________

maple [A]  time = 0.13, size = 23, normalized size = 0.88 \[ \frac {2 b \arctan \left (\sinh \left (c +d \sqrt {x}\right )\right )}{d}+2 a \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*sech(c+d*x^(1/2)))/x^(1/2),x)

[Out]

2*b*arctan(sinh(c+d*x^(1/2)))/d+2*a*x^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.34, size = 22, normalized size = 0.85 \[ 2 \, a \sqrt {x} + \frac {2 \, b \arctan \left (\sinh \left (d \sqrt {x} + c\right )\right )}{d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*sech(c+d*x^(1/2)))/x^(1/2),x, algorithm="maxima")

[Out]

2*a*sqrt(x) + 2*b*arctan(sinh(d*sqrt(x) + c))/d

________________________________________________________________________________________

mupad [B]  time = 1.34, size = 43, normalized size = 1.65 \[ 2\,a\,\sqrt {x}+\frac {4\,\mathrm {atan}\left (\frac {b\,{\mathrm {e}}^{d\,\sqrt {x}}\,{\mathrm {e}}^c\,\sqrt {d^2}}{d\,\sqrt {b^2}}\right )\,\sqrt {b^2}}{\sqrt {d^2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b/cosh(c + d*x^(1/2)))/x^(1/2),x)

[Out]

2*a*x^(1/2) + (4*atan((b*exp(d*x^(1/2))*exp(c)*(d^2)^(1/2))/(d*(b^2)^(1/2)))*(b^2)^(1/2))/(d^2)^(1/2)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \operatorname {sech}{\left (c + d \sqrt {x} \right )}}{\sqrt {x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*sech(c+d*x**(1/2)))/x**(1/2),x)

[Out]

Integral((a + b*sech(c + d*sqrt(x)))/sqrt(x), x)

________________________________________________________________________________________